package com.palfund.threadpool;

import android.util.Log;

/**
 * Created by clvc on 2017/11/3.
 * 真正的速度是看不见的 !
 * Today is today , we will go !
 */

public class Extend extends Super {
    public Extend() {
        Log.i("Extend", "---Extend()--->" + "子类无参");
    }

    public Extend(String msg) {
        Log.i("Extend", "---Extend()--->" + "子类有参");
    }

    //构造代码块
    {
        Log.i("Extend", "---instance initializer()--->" + "构造代码块");
    }

    //静态代码块
    static {
        Log.i("Extend", "---static initializer()--->" + "静态代码块");
    }

    public static void staticTest() {
        Log.i("Extend", "---staticTest()--->" + "");
    }

    @Override
    public void test() {
        Log.i("Extend", "---test()--->" + "子类重写的方法");
    }
}
